@import "../../modules/icon/fonts/iconfont.css";
@import "../../modules/sass/variables.scss";

html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  background: $theme-gray200-color;
}

#body {
  background: $theme-gray50-color;
}

#body .xs-container {
  background: #fff;
}

#body .content {
  .bookClass {
    font-size: 0;
    white-space: nowrap;
    overflow-y: hidden;
    background-color: $theme-gray50-color;
    li {
      display: inline-block;
      width: 25vw;
      font-size: 14px;
      text-align: center;
      line-height: 44px;
    }
    .selected{
      color:$theme-red700-color
    }
  }
}

#body .content {
  .bookList {
    padding-left: 10px;
    padding-right: 10px;
    background: $theme-gray50-color;
    transition: all 0s cubic-bezier(.55, 0, .1, 1);
      .book {
        margin-top: 10px;
      }
      .book .bookWrapper > div {
        max-width: 100px;
        max-height: 130px;
        margin: 0 auto;
        border-radius: 6px;
        overflow: hidden;
      }
      img {
        max-width: 100px;
        min-height: 130px
      }
    }
    .nofund{
      width: 100%;
      text-align: center;
      p{
        padding-top: 30px;
        font-size: 14px;
        color: $theme-gray800-color;
      }
    }
}

#body .box1 {
  height: 84px;
  position: relative;
  width: 175vw;
  background: white;
  p {
    line-height: 2;
    font-size: 13px;
  }
  .iconfont {
    font-size: 22px;
    font-weight: normal;
    color: $theme-red700-color;
  }
}

#body .iconWapper {
  width: 40px;
  height: 40px;
  color: $theme-red700-color;
  border-radius: 50%;
  margin: 0 auto;
  margin-top: 23px;
  font-weight: bold;
  border: 1px solid $theme-red700-color;
}

#body .box1-item {
  width: 25vw;
  height: 88px;
  display: inline-block;
  float: left;
  text-align: center;
  line-height: 40px;
  .iconfont {
    font-size: 20px;
    color: $theme-red700-color;
    font-weight: normal;
  }
  p {
    color: $theme-gray800-color;
    font-size: 13px;

  }
}

#body .vux-flexbox {
  padding-bottom: 30px;
}

#body .detail {
  max-width: 104px;
  text-align: left;
  margin: 0 auto;
  .title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 13px;
    font-weight: normal;
    color: $theme-gray800-color;
    margin-top: 4px;
  }
  .author {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    font-size: 13px;
    font-weight: normal;
    color: $theme-gray600-color;
    margin-top: 4px;
  }
  .rank {
    font-size: 13px;
  }
}

.slide-left-enter, .slide-right-leave-active {
  opacity: 0;
  -webkit-transform: translate(50px, 0);
  transform: translate(50px, 0);
}

.slide-left-leave-active, .slide-right-enter {
  opacity: 0;
  -webkit-transform: translate(-50px, 0);
  transform: translate(-50px, 0);
}

::-webkit-scrollbar {
  width: 0px;
  height: 1px;
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.2);
}

#body .vux-tab {
  background: $theme-gray50-color;;
}

#body .vux-tab .vux-tab-item.vux-tab-selected {
  color: $theme-red700-color;
  border-bottom: 3px solid $theme-red700-color;
}

#body .vux-tab-ink-bar {
  background-color: $theme-red700-color;
}

#body .vux-slider > .vux-indicator > a > .vux-icon-dot.active, #body .vux-slider .vux-indicator-right > a > .vux-icon-dot.active {
  background: $theme-red700-color;
}

